<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../inc/common.jsp"%>
</head>
<body>
<div class="pd-20">
	<form action="/department/save.htm" method="post" class="form form-horizontal" id="form-admin-add">
		<div class="row cl">
			<label class="form-label col-2"><span class="c-red">*</span>院系名：</label>
			<div class="formControls col-6">
				<input type="text" class="input-text" id="depertment.name" name="depertment.name" datatype="*2-16" nullmsg="院系名称不能为空">
			</div>
			<div class="col-4"> </div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-2">描述</label>
			<div class="formControls col-6"> 
				<textarea style="height: 100px;" class="input-text" id="depertment.desciption" name="depertment.desciption" placeholder="简单的描述"></textarea>
			</div>
		</div>
		<div class="row cl">
			<div class="col-10 col-offset-2">
				<button class="btn btn-secondary radius" type="submit">提交</button>
				<button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</div>
<script type="text/javascript">
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	
	$("#form-admin-add").Validform({
		tiptype:2,
		callback:function(form){
			form[0].submit();
			parent.$('.btn-refresh').click();
		}
	});
});
</script>
</body>
</html>